package com.carkeeper.evaluate.dao;

import com.carkeeper.evaluate.pojo.Evaluate;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

/**
 * @author zhangmingxin
 * @version 1.0
 * @date 2020/11/23 19:02
 */
@Repository
public interface EvaluateDao extends Mapper<Evaluate> {

  @Select("select user_content,score_transform,score_store,store_simple_name,service_items,service_cost from tb_order_appraisal where id=#{id};")
  Evaluate findById(@Param("id")Integer id);
}
